package com.koron.ticket.work.workteam.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class WorkTeam {

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "工作票id")
    private String workTicketId;

    @ApiModelProperty(value = "班组ID")
    private String workTeam;

    @ApiModelProperty(value = "班组名称")
    private String workTeamName;

    @ApiModelProperty(value = "0-在使用；1-已删除")
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "是否外单位临时 外1、临-1、正常0")
    private Integer isOutOrg;

}
